<%-- 
    Document   : nomor2
    Created on : Oct 29, 2014, 10:15:45 PM
    Author     : Fajar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>2</title>
    </head>
    <body>
        <h3>NOMOR 2</h3>
            
        <h2>2. Jika class Siswa memiliki instance variabel : nis, nama, ttl, alamat dan n1 dan n2 adalah variabel bertype Siswa, maka statement berikut yang salah adalah...</h2>
        <form method="post" name="form2" action="hasil.jsp">
<table>
<tr>
        <td><input name="no2" type="radio" value="A. n1 = n.tipe" />A. n1 = n.tipe<br>
            <input name="no2" type="radio" value="B. n1 = new Siswa();" />B. n1 = new Siswa();<br>
            <input name="no2" type="radio" value="C. n2 = n1;" />C. n2 = n1;<br>
            <input name="no2" type="radio" value="D. n2.nis = 35611070.071;" />D. n2.nis = 35611070.071;<br>
            <input type="submit" value="Periksa">
        </td>
    </tr>
</table>            
</form>

    </body>
</html>
    